package com.qf.lanzhou.blog.api.service.impl;

import com.qf.lanzhou.blog.api.dao.ArticleDao;
import com.qf.lanzhou.blog.api.dao.Impl.ArticleDaoImp;
import com.qf.lanzhou.blog.api.service.GetPriceService;

/**
 * @author 是柠檬甜
 * @ClassName GetPriceServiceImpl
 * @description 获取点赞状态服务层接口实现
 * @date 2020/12/21 19:30
 * @modifier 是柠檬甜
 * @date 2020-12-21 19:30
 * @Version V1.0
 */
public class GetPriceServiceImpl implements GetPriceService {
    private ArticleDao status=new ArticleDaoImp();
    @Override
    public Long getPriceStatus(Long articleId, Long userId) {
        Long articleStatus = status.getArticleStatus(userId, articleId);
        return articleStatus;
    }
}
